package events
{
	import flash.events.Event;
	import models.Book;
	public class BookServiceEvent extends Event
	{
		
		public static const GET_BOOKS_BY_CONDITIONS : String = "getBooksByConditions";
		public static const GET_BOOKS_BY_ID : String = "getBookById";
		public static const SAVE_BOOK : String = "saveBook";
		public static const REMOVE_BOOK_BY_ID : String = "removeBookById";		
		
		public var book : Book = new Book();
		public var bookId : int;
		public var bookName:String ;
        public var writerName:String ;
        public var publisher:String ;
        public var writeymdFrom:String ;
        public var writeymdTo:String ;
        public var buyymdFrom:String ;
        public var buyymdTo:String ;
        public var priceFrom:String ;
        public var priceTo:String ;
        public var classification:String;
        public var order:String ;
        public var isOnlyBuy:String ;
		
		public function BookServiceEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
		
	}
}